<template>
  <div>
    <el-form ref="form" :model="form" disabled label-width="120px">
      <el-form-item label="营业时间：">
        <el-input v-model="form.businessTime" type="textarea" placeholder="【例】 午间场：上午11:00 - 下午14：00；晚间场：下午17:00 - 下午22：00" rows="5" clearable />
      </el-form-item>
      <el-form-item label="商家相册：">
        <UploadFile :file-list="form.albumImgUrls" />
        <UploadFile :file-list="form.albumVideoUrls" file-type="file" />
      </el-form-item>
      <el-form-item label="门店简介：">
        <el-input v-model="form.introduction" placeholder="请输入" clearable />
      </el-form-item>
      <el-form-item label="门店详情：">
        <RichText :value.sync="form.description" disabled />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
import UploadFile from '@/components/UploadFile/index.vue'
import RichText from '@/components/RichText/index.vue'
export default {
  name: 'ShopFace',
  components: {
    UploadFile,
    RichText
  },
  props: {
    formDetail: {
      type: Object,
      default: () => ({})
    }
  },
  data() {
    return {
      form: {}
    }
  },

  watch: {
    formDetail(value) {
      this.form = value
    }
  },

  methods: {

  }
}
</script>

<style lang="scss" scoped></style>
